Fix ommissions in window scrolling commands that ought to clear vscroll
authorPo Lu <luangruo@yahoo.com>
Sat, 27 Apr 2024 11:48:45 +0000 (19:48 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 27 Apr 2024 11:48:45 +0000 (19:48 +0800)
commit01e0b783bcd1b48ec856c8960e9da571a289a1b2
treebb3d075c9af638149eed223a3925850d1c098bff
parent687c4137fa473031bc62aa0d41aec74df4f1e5af
Fix ommissions in window scrolling commands that ought to clear vscroll

* src/window.c (Fdelete_other_windows_internal)
(window_scroll_for_long_lines, Frecenter, Fmove_to_window_line):
Reset window vscroll, or, if force_start be set, just
preserve_vscroll_p, after moving window start to a position
computed from iterators for the window in question, so that
vscroll may be reliably reset again after the conditions for
redisplay's doing the same were corrected.  (bug#70386)
src/window.c